package com.bdcom.autotest.telnet.model;

public class DevMACObj extends   TelnetCMDObj{
    private String mac;
    private String sn="8045482";//sn由eprom文件下发，这个会失效

    public String getSn() {
        return sn;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String buildCMD(){
        //mac_set 8045482 64:9d:99:28:b1:ae
        StringBuilder builder=new StringBuilder();
        builder.append("mac_set ").append(getSn()).append(" ").append(getMac());
        return builder.toString();
    }
}
